package com.baomidou.springboot.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springboot.entity.About;
import com.baomidou.springboot.entity.Contact;

import java.util.List;

/**
 * <p>
 * 联系我们 服务类
 * </p>
 *
 * @author QQQ
 * @since 2018-06-19
 */
public interface ContactService {

    void save(Contact contact);

    void delete(String id);

    Contact edit(String id);

    void update(Contact contact);

    Contact view(String id);

    Page<Contact> list(Page<Contact> page, String search);

    void deleteBatch(List<String> ids);

    Contact detail();
}
